package com.jiliang.auth.domain;



import com.jiliang.auth.dao.model.AuthRoleMember;

import java.util.List;

/**
 * @author lpp
 * @version 1.0
 * @Date 2018/8/17 17:53
 */
public class AuthRoleMemberBo extends AuthRoleMember {
    /**
     * 页大小
     */
    private Integer pageSize;
    /**
     * 页码
     */
    private Integer pageNum;
    /**
     * 用户boid集合
     */
    private List<String> boIdList;
    /**
     * 角色名称
     */
    private String name;

    /**
     * 角色是否允许访问， 1允许，0不允许
     */
    private Short canVisit;
    /**
     * 多个功能id用“|”分割
     */
    private String funcIds;
    /**
     * 多角色用“|”分割
     */
    private String roleCodes;
    /**
     * 是否关联用户功能， 0-不是1-是
     */
    private Integer isRelationFunc;

    private String dName;

    private Short userStatus;

    public Short getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Short userStatus) {
        this.userStatus = userStatus;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    /**
     * 用户名称
     * 2018-12-15 Li Lei 添加
     */
    private String userName;

    private String realName;

    private String loginName;

    private String mobilePhone;

    private List<String> roleCodeList;

    private String authBoId;

    private String code;

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getAuthBoId() {
        return authBoId;
    }

    public void setAuthBoId(String authBoId) {
        this.authBoId = authBoId;
    }


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public List<String> getBoIdList() {
        return boIdList;
    }

    public void setBoIdList(List<String> boIdList) {
        this.boIdList = boIdList;
    }

    public Integer getIsRelationFunc() {
        return isRelationFunc;
    }

    public void setIsRelationFunc(Integer isRelationFunc) {
        this.isRelationFunc = isRelationFunc;
    }

    public String getRoleCodes() {
        return roleCodes;
    }

    public void setRoleCodes(String roleCodes) {
        this.roleCodes = roleCodes;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Short getCanVisit() {
        return canVisit;
    }

    public void setCanVisit(Short canVisit) {
        this.canVisit = canVisit;
    }

    public String getFuncIds() {
        return funcIds;
    }

    public void setFuncIds(String funcIds) {
        this.funcIds = funcIds;
    }

    public List<String> getRoleCodeList() {
        return roleCodeList;
    }

    public void setRoleCodeList(List<String> roleCodeList) {
        this.roleCodeList = roleCodeList;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("AuthRoleMemberBo{");
        sb.append(" pageSize=").append(pageSize);
        sb.append(", pageNum=").append(pageNum);
        sb.append(", boIdList=").append(boIdList);
        sb.append(", name='").append(name).append('\'');
        sb.append(", canVisit=").append(canVisit);
        sb.append(", funcIds='").append(funcIds).append('\'');
        sb.append(", roleCodes='").append(roleCodes).append('\'');
        sb.append(", isRelationFunc=").append(isRelationFunc);
        sb.append(", userName='").append(userName).append('\'');
        sb.append(", realName='").append(realName).append('\'');
        sb.append(", loginName='").append(loginName).append('\'');
        sb.append(", roleCodeList=").append(roleCodeList);
        sb.append(", authBoId=").append(authBoId);
        sb.append(", code='").append(code).append('\'');
        sb.append('}');
        sb.append(super.toString());
        return sb.toString();
    }
}
